<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('纪检监察机关立案审查调查情况登记列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <li>
                                <label>工作进度ID：</label>
                                <input type="text" name="progressId"/>
                            </li>
                            <li>
                                <label>：</label>
                                <input type="text" name="val1"/>
                            </li>
                            <li>
                                <label>：</label>
                                <input type="text" name="val2"/>
                            </li>
                            <li>
                                <label>：</label>
                                <input type="text" name="val3"/>
                            </li>
                            <li>
                                <label>：</label>
                                <input type="text" name="val4"/>
                            </li>
                            <li>
                                <label>：</label>
                                <input type="text" name="val5"/>
                            </li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="btn-group-sm" id="toolbar" role="group">
                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="work:templatetable7:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="work:templatetable7:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="work:templatetable7:remove">
                    <i class="fa fa-remove"></i> 删除
                </a>
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="work:templatetable7:export">
                    <i class="fa fa-download"></i> 导出
                </a>
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('work:templatetable7:edit')}]];
        var removeFlag = [[${@permission.hasPermi('work:templatetable7:remove')}]];
        var prefix = ctx + "work/templatetable7";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                modalName: "纪检监察机关立案审查调查情况登记",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'id',
                    title: '主键ID',
                    visible: false
                },
                {
                    field: 'progressId',
                    title: '工作进度ID'
                },
                {
                    field: 'val1',
                    title: ''
                },
                {
                    field: 'val2',
                    title: ''
                },
                {
                    field: 'val3',
                    title: ''
                },
                {
                    field: 'val4',
                    title: ''
                },
                {
                    field: 'val5',
                    title: ''
                },
                {
                    field: 'val6',
                    title: ''
                },
                {
                    field: 'val7',
                    title: ''
                },
                {
                    field: 'val8',
                    title: ''
                },
                {
                    field: 'val9',
                    title: ''
                },
                {
                    field: 'val10',
                    title: ''
                },
                {
                    field: 'val11',
                    title: ''
                },
                {
                    field: 'val12',
                    title: ''
                },
                {
                    field: 'val13',
                    title: ''
                },
                {
                    field: 'val14',
                    title: ''
                },
                {
                    field: 'val15',
                    title: ''
                },
                {
                    field: 'val16',
                    title: ''
                },
                {
                    field: 'val17',
                    title: ''
                },
                {
                    field: 'val18',
                    title: ''
                },
                {
                    field: 'val19',
                    title: ''
                },
                {
                    field: 'val20',
                    title: ''
                },
                {
                    field: 'val21',
                    title: ''
                },
                {
                    field: 'val22',
                    title: ''
                },
                {
                    field: 'val23',
                    title: ''
                },
                {
                    field: 'val24',
                    title: ''
                },
                {
                    field: 'val25',
                    title: ''
                },
                {
                    field: 'val26',
                    title: ''
                },
                {
                    field: 'val27',
                    title: ''
                },
                {
                    field: 'val28',
                    title: ''
                },
                {
                    field: 'val29',
                    title: ''
                },
                {
                    field: 'val30',
                    title: ''
                },
                {
                    field: 'val31',
                    title: ''
                },
                {
                    field: 'val32',
                    title: ''
                },
                {
                    field: 'val33',
                    title: ''
                },
                {
                    field: 'val34',
                    title: ''
                },
                {
                    field: 'val35',
                    title: ''
                },
                {
                    field: 'val36',
                    title: ''
                },
                {
                    field: 'val37',
                    title: ''
                },
                {
                    field: 'val38',
                    title: ''
                },
                {
                    field: 'val39',
                    title: ''
                },
                {
                    field: 'val40',
                    title: ''
                },
                {
                    field: 'val41',
                    title: ''
                },
                {
                    field: 'val42',
                    title: ''
                },
                {
                    field: 'val43',
                    title: ''
                },
                {
                    field: 'val44',
                    title: ''
                },
                {
                    field: 'val45',
                    title: ''
                },
                {
                    field: 'val46',
                    title: ''
                },
                {
                    field: 'val47',
                    title: ''
                },
                {
                    field: 'val48',
                    title: ''
                },
                {
                    field: 'val49',
                    title: ''
                },
                {
                    field: 'val50',
                    title: ''
                },
                {
                    field: 'val51',
                    title: ''
                },
                {
                    field: 'val52',
                    title: ''
                },
                {
                    field: 'val53',
                    title: ''
                },
                {
                    field: 'val54',
                    title: ''
                },
                {
                    field: 'val55',
                    title: ''
                },
                {
                    field: 'val56',
                    title: ''
                },
                {
                    field: 'val57',
                    title: ''
                },
                {
                    field: 'val58',
                    title: ''
                },
                {
                    field: 'val59',
                    title: ''
                },
                {
                    field: 'val60',
                    title: ''
                },
                {
                    field: 'val61',
                    title: ''
                },
                {
                    field: 'val62',
                    title: ''
                },
                {
                    field: 'val63',
                    title: ''
                },
                {
                    field: 'val64',
                    title: ''
                },
                {
                    field: 'val65',
                    title: ''
                },
                {
                    field: 'val66',
                    title: ''
                },
                {
                    field: 'val67',
                    title: ''
                },
                {
                    field: 'val68',
                    title: ''
                },
                {
                    field: 'val69',
                    title: ''
                },
                {
                    field: 'val70',
                    title: ''
                },
                {
                    field: 'val71',
                    title: ''
                },
                {
                    field: 'val72',
                    title: ''
                },
                {
                    field: 'val73',
                    title: ''
                },
                {
                    field: 'val74',
                    title: ''
                },
                {
                    field: 'val75',
                    title: ''
                },
                {
                    field: 'val76',
                    title: ''
                },
                {
                    field: 'val77',
                    title: ''
                },
                {
                    field: 'val78',
                    title: ''
                },
                {
                    field: 'val79',
                    title: ''
                },
                {
                    field: 'val80',
                    title: ''
                },
                {
                    field: 'val81',
                    title: ''
                },
                {
                    field: 'val82',
                    title: ''
                },
                {
                    field: 'val83',
                    title: ''
                },
                {
                    field: 'remark',
                    title: '备注'
                },
                {
                    title: '操作',
                    align: 'center',
                    formatter: function(value, row, index) {
                        var actions = [];
                        actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
                        actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
                        return actions.join('');
                    }
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>